<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title>易趣五子棋游戏-棋盘初始化</title>
		
		<style>
			.a{
				background-image: url(img/22.jpg);
			}
		</style>
		
	</head>
	<body>
		
		<canvas id="canvas" class="a"></canvas>
		
		<script>
			
			var position=new Array();
			
			init();
			
			initposition();
			
			function init(){
				var canvas=document.getElementById('canvas');
				canvas.width=360;
				canvas.height=600;
			}
			
			function initposition(){
				for(var i=0;i<10;i++){
					position[i]=new Array();
					for(var j=0;j<12;j++){
						position[i][j]="0";
					}
				}
			}
			
		</script>
		
	</body>
</html>
